package com.vtuzx.kingdee.xqc_api.service;

import com.vtuzx.core.VtuzxException;
import com.vtuzx.core.bean.dto.VtuzxMap;
import org.bson.types.ObjectId;

import java.util.Map;

/**
 * 包材采购入库服务
 */
public interface IXqcPurPackageService {

    VtuzxMap getPurOrderBill();

    VtuzxMap getPurOrderBillDetail(String orderNo);

    void createPurInSettlementBill(ObjectId userId, String userName, Map<String, Object> param) throws VtuzxException;

    void auditPurOrderBill(ObjectId userId, String userName, String orderNo) throws VtuzxException;

    VtuzxMap updatePurOrderCount(ObjectId userId, String userName, String id, int count);

    VtuzxMap getPurInSettlementList(ObjectId userId, Map<String, Object> param, String userName);

    VtuzxMap getPurInSettlementDetail(ObjectId userId, Map<String, Object> param, String userName);

    void settlementMaterial(ObjectId userId, Map<String, Object> param, String userName) throws VtuzxException;

    void unSettlementMaterial(ObjectId userId, Map<String, Object> param, String userName) throws VtuzxException;
}
